import sys
import os
className = sys.argv[1]

newMapperName = "../src/main/java/com/example/javagd/mapper/" + className+"Mapper.java"
newPojoName = "../src/main/java/com/example/javagd/pojo/" + className+"Pojo.java"
newServiceName = "../src/main/java/com/example/javagd/service/I" + className+"Service.java"
newServiceImplName = "../src/main/java/com/example/javagd/service/impl/" + className+"ServiceImpl.java"
newMapperXmlName = "../src/main/resources/mappers/" + className+"Mapper.xml"
newControllerName = "../src/main/java/com/example/javagd/controller/" + className + "Controller.java"

os.remove(newMapperName)
os.remove(newPojoName)
os.remove(newServiceName)
os.remove(newServiceImplName)
os.remove(newMapperXmlName)
os.remove(newControllerName)
